package com.tao.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "tao.jwt")
@Data
public class JWTProperties {

    /**
     * 管理端员工生成jwt令牌相关配置
     */
    public String secretKey;
    private long ttl;//过期时间
    private String tokenName;

}